import 'package:flutter/material.dart';
import 'package:fluttermodule/enterprisecenter/enterprise_model.dart';
import 'package:fluttermodule/service/service_method.dart';

class EnterpriseInfoProvide with ChangeNotifier {
  EnterpriseInfo enterpriseInfo;

  getEnterpriseInfo() async {

    await request('getEnterpriseInfo').then((val) {
      // var responseData= json.decode(val['productDetail'].toString());
      enterpriseInfo = EnterpriseInfo.fromJson(val);
      notifyListeners();
    });
  }
}
